package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广告管理对象 advertising
 * 
 * @author 墨染
 * @date 2024-10-11
 */
public class Advertising extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 广告id */
    private Long advertisingId;

    /** 广告名 */
    @Excel(name = "广告名")
    private String advertisingName;

    /** 广告图片路径 */
    @Excel(name = "广告图片路径")
    private String advertisingImagePath;

    /** 广告介绍 */
    @Excel(name = "广告介绍")
    private String advertisingIntro;

    /** 广告跳转链接 */
    @Excel(name = "广告跳转链接")
    private String advertisingUrl;

    /** 广告发布者 */
    @Excel(name = "广告发布者")
    private String pulisher;

    /** 广告发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "广告发布时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date releaseTime;

    /** 广告结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "广告结束时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 删除标志（1删除，0不删除） */
    @Excel(name = "删除标志", readConverterExp = "1=删除，0不删除")
    private Long idDel;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String ext1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String ext2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String ext3;

    /** 扩展字段4 */
    @Excel(name = "扩展字段4")
    private String ext4;

    /** 扩展字段5 */
    @Excel(name = "扩展字段5")
    private String ext5;

    public void setAdvertisingId(Long advertisingId) 
    {
        this.advertisingId = advertisingId;
    }

    public Long getAdvertisingId() 
    {
        return advertisingId;
    }
    public void setAdvertisingName(String advertisingName) 
    {
        this.advertisingName = advertisingName;
    }

    public String getAdvertisingName() 
    {
        return advertisingName;
    }
    public void setAdvertisingImagePath(String advertisingImagePath)
    {
        this.advertisingImagePath = advertisingImagePath;
    }

    public String getAdvertisingImagePath()
    {
        return advertisingImagePath;
    }
    public void setAdvertisingIntro(String advertisingIntro) 
    {
        this.advertisingIntro = advertisingIntro;
    }

    public String getAdvertisingIntro() 
    {
        return advertisingIntro;
    }
    public void setAdvertisingUrl(String advertisingUrl) 
    {
        this.advertisingUrl = advertisingUrl;
    }

    public String getAdvertisingUrl() 
    {
        return advertisingUrl;
    }
    public void setPulisher(String pulisher) 
    {
        this.pulisher = pulisher;
    }

    public String getPulisher() 
    {
        return pulisher;
    }
    public void setReleaseTime(Date releaseTime) 
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() 
    {
        return releaseTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setIdDel(Long idDel) 
    {
        this.idDel = idDel;
    }

    public Long getIdDel() 
    {
        return idDel;
    }
    public void setExt1(String ext1) 
    {
        this.ext1 = ext1;
    }

    public String getExt1() 
    {
        return ext1;
    }
    public void setExt2(String ext2) 
    {
        this.ext2 = ext2;
    }

    public String getExt2() 
    {
        return ext2;
    }
    public void setExt3(String ext3) 
    {
        this.ext3 = ext3;
    }

    public String getExt3() 
    {
        return ext3;
    }
    public void setExt4(String ext4) 
    {
        this.ext4 = ext4;
    }

    public String getExt4() 
    {
        return ext4;
    }
    public void setExt5(String ext5) 
    {
        this.ext5 = ext5;
    }

    public String getExt5() 
    {
        return ext5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("advertisingId", getAdvertisingId())
            .append("advertisingName", getAdvertisingName())
            .append("advertisingImagePath", getAdvertisingImagePath())
            .append("advertisingIntro", getAdvertisingIntro())
            .append("advertisingUrl", getAdvertisingUrl())
            .append("pulisher", getPulisher())
            .append("releaseTime", getReleaseTime())
            .append("endTime", getEndTime())
            .append("idDel", getIdDel())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("ext1", getExt1())
            .append("ext2", getExt2())
            .append("ext3", getExt3())
            .append("ext4", getExt4())
            .append("ext5", getExt5())
            .toString();
    }
}
